package com.maiworld.api.controller;

import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.maiworld.pojo.TbSealSchool;
import com.maiworld.seller.service.SealSchoolService;

@RestController
@RequestMapping("/school")
public class SealSchoolController {

	
	@Reference
	private SealSchoolService sealSchoolService;
	//选择驾校（测试通过）
	@RequestMapping("/findAll")
	public List<TbSealSchool> findAll(){
		
		return sealSchoolService.findAll();
	}
	
}
